package com.weixin.engine.enums;

public enum ResponseCodeEnum {

    PARAMS_EXCEPTION_NECESSARY("1004" , "缺少必要入参"),
    PARAMS_EXCEPTION("1003" , "入参异常"),
    HTTP_REQUEST_RETRY_EXCEPTION("1002", "http请求重试异常"),
    DINGDING_ALERT_EXCEPTION("1001", "钉钉报警异常"),
    SYSTEM_EXCEPTION("1000", "系统异常"),

    SUCCESS("0000", "成功");

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

    private final String code;
    private final String description;

    ResponseCodeEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

}
